﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="zh-mo">
<title>團體及學校參觀申請表</title>
<script src="visitform.js"></script>
<script src="/js/prototype.js"></script>
<script src="/js/inputmask.js"></script>
<style type="text/css">
	table {
		font-family: PMingLiU,新細明體;
		font-size: 0.8em;
		color: #990066;
	}
</style>
</head>
<%
Function IIf(condition,value1,value2)
	If condition Then IIf = value1 Else IIf = value2
End Function
%>
<body onLoad="Xaprb.InputMask.setupElementMasks()">
<form method="POST" action="submit_visitform.asp">
  <input type="hidden" name="Language" value="chi">
  <table border="0" width="100%" cellspacing="0">
    <tr>
      <th width="17%" align="right" nowrap="true" valign="top">團體(學校)名稱</th>
      <td width="83%" colspan="3">
         <!--#include file="schoolid_chi.asp"--><br>

         <input type="text" id="schoolname" name="name" width="100" size="40" value='<% =Server.HTMLEncode(Request("Name")) %>'>
         <!--#include file="schoolid_scr.asp"-->
      </td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true" valign="top">地址</th>
      <td width="83%" colspan="3"><textarea rows="3" name="address" cols="40"><% =Server.HTMLEncode(Request("Address")) %></textarea></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">聯絡人姓名</th>
      <td width="83%" colspan="3"><input type="text" name="contactPerson" size="40" value='<% =Server.HTMLEncode(Request("contactPerson")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">聯絡人電話</th>
      <td colspan="3"><input type="text" name="contactPhone" size="40" value='<% =Server.HTMLEncode(Request("contactPhone")) %>'></td>
    </tr>
    <tr>
      <th align="right" nowrap="true">傳真機</th>
      <td colspan="3"><input type="text" name="fax" size="40" value='<% =Server.HTMLEncode(Request("fax")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">電郵地址 (e-mail)</th>
      <td width="83%" colspan="3"><input type="text" name="email" size="40" value='<% =Server.HTMLEncode(Request("email")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">參觀人數 (一百人以內)</th>
      <td><input type="text" name="visitorsCount" size="10" class="input_mask mask_shortnumber" value='<% =Server.HTMLEncode(Request("visitorsCount")) %>'></td>
      <th align="right">隨行工作人員(老師)數目</th>
      <td><input type="text" name="teachersCount" size="10" class="input_mask mask_shortnumber" value='<% =Server.HTMLEncode(Request("teachersCount")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">年齡層(年級)&nbsp;</th>
      <td width="83%" colspan="3"><input type="text" name="ageClass" size="10" value='<% =Server.HTMLEncode(Request("ageClass")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">預計參觀日期</th>
      <td width="83%" colspan="3"><input type="text" name="visitDate" class="input_mask mask_date_us" size="12" value='<% =Server.HTMLEncode(Request("visitDate")) %>'>(日/月/年)</td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">預計到館時間</th>
      <td><input type="text" name="arrivalTime" class="input_mask mask_shorttime" size="12" value='<% =Server.HTMLEncode(Request("arrivalTime")) %>'></td>
      <th width="28%" align="right" nowrap="true">預計離館時間</th>
      <td><input type="text" name="leaveTime" class="input_mask mask_shorttime" size="12" value='<% =Server.HTMLEncode(Request("leaveTime")) %>'></td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true" valign="top">導賞服務及參觀選項</th>
      <td width="83%" colspan="3"><br>展覽項目編號&nbsp;
          <input type="text" name="activityCode" size="25" value='<% =Server.HTMLEncode(Request("activityCode")) %>'>
          <br><input type="checkbox" name="firstTime" <% =IIF(Request("firstTime")="ON", "checked", "") %> value="ON">第一次參觀博物館</td>
        </td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true">導賞語言</th>
      <td width="83%" colspan="3"><input type="checkbox" name="cantonese" <% =IIF(Request("cantonese")="ON","checked", "") %>  value="ON">廣東話  
        <input type="checkbox" name="putonghua" <% =IIF(Request("putonghua")="ON","checked", "") %> value="ON">普通話 &nbsp;
        <input type="checkbox" name="portuguese" <% =IIF(Request("portuguese")="ON","checked", "") %> value="ON">Portugu&ecirc;s  &nbsp;
        <input type="checkbox" name="english" <% =IIF(Request("english")="ON","checked","") %> value="ON">English</td>
    </tr>
    <tr>
      <th width="17%" align="right" nowrap="true" valign="top">特別需要</th>
      <td width="83%" colspan="3"><textarea rows="3" name="remarks" cols="40"><% =Server.HTMLEncode(Request("remarks")) %></textarea></td>
    </tr>
    <tr>
     <td colspan="4" align="center"><big><font color="red">填妥表格後請按[遞交確認]。</font></big></td>
    </tr>
    <tr>
      <td colspan="4" align="center">
<%
  if Session("ErrorMsg")<>"" Then
%>
    <font color='Red'><big><ul><% =Session("ErrorMsg") %></ul></big></font>
<%
  Session("ErrorMsg")=""
  end if
%>
        <input type="submit" value="遞交確認" name="Submit"><input type="reset" value="重新" name="Reset">
      </td>
    </tr>
  </table>

</form>

</body>
</html>